package org.wdcode.base.dao.spring.hibernate;

/**
 * Hibernate的基础Dao抽象类，封装了HibernateDao和一些公用方法
 * @author WD
 * @since JDK6
 * @version 1.0 2009-08-31
 */
public abstract class BaseHibernateDao {
	// ExtendHibernateDao
	private ExtendHibernateDao	dao;

	/**
	 * 获得ExtendHibernateDao
	 * @return ExtendHibernateDao
	 */
	public final ExtendHibernateDao getHibernateDao() {
		return dao;
	}

	/**
	 * 设置ExtendHibernateDao
	 * @param dao ExtendHibernateDao
	 */
	public final void setHibernateDao(ExtendHibernateDao dao) {
		this.dao = dao;
	}
}
